encoding/json.field.index (field)

21 uses

	encoding/json (current package)
		decode.go#L700: 				for _, i := range f.index {
		encode.go#L685: 		for _, i := range f.index {
		encode.go#L1040: 	index     []int
		encode.go#L1056: 	for k, xik := range x[i].index {
		encode.go#L1057: 		if k >= len(x[j].index) {
		encode.go#L1060: 		if xik != x[j].index[k] {
		encode.go#L1061: 			return xik < x[j].index[k]
		encode.go#L1064: 	return len(x[i].index) < len(x[j].index)
		encode.go#L1123: 				index := make([]int, len(f.index)+1)
		encode.go#L1124: 				copy(index, f.index)
		encode.go#L1125: 				index[len(f.index)] = i
		encode.go#L1155: 						index:     index,
		encode.go#L1181: 					next = append(next, field{name: ft.Name(), index: index, typ: ft})
		encode.go#L1195: 		if len(x[i].index) != len(x[j].index) {
		encode.go#L1196: 			return len(x[i].index) < len(x[j].index)
		encode.go#L1237: 		f.encoder = typeEncoder(typeByIndex(t, f.index))
		encode.go#L1261: 	if len(fields) > 1 && len(fields[0].index) == len(fields[1].index) && fields[0].tag == fields[1].tag {